package edu.scut.yi.yx.lobbymanager;

public enum Command {
	    AddBuddy("ab"),
	    RemoveBuddy("rb"),
	    LoadBuddies("lb"),
	    GetUserInfo("lu"),
	    SetUserInfo("su"),
	    LoadRooms("lr"),
	    LoadGames("lg"),
	    
	    Action("c"),
	    State("st"),
	    Message("m"),
	    
	    Success("s"),
	    Error("e"),
	    Failed("f"),
	    
	    IsBuddy("ib"),
	    NotBuddy("nb");
	    


	    private final String code;

	    private Command(String code) {
	        this.code = code;
	    }

	    public String getCode() {
	        return code;
	    }

}
